<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>边框样式演示</title>
    <style>
        #d1{
            /*设置所有边框*/
            border: 5px solid #ff0cfe;
          /*设置上边框*/
            border-top: 5px solid #9eff74;
           /*设置左边框*/
            border-left:5px double rebeccapurple ;
            /*设置右边框*/
            border-right:5px dotted  deeppink;
            /*设置下边框*/
            border-bottom:5px dashed brown;
            width: 150px;
            height: 150px;
        }
        #d2{
            border: 5px solid brown;
            /*设置边框弧度*/
            border-radius: 25px;
            width: 150px;
            height: 150px;
        }
    </style>
</head>
<body>
<div id="d1"></div><br/>
<div id="d2"></div>
</body>
</html>